﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinRTFramework.Common;
using WinRTFramework.DefaultImplementations;

namespace ApplicationSettings.ViewModels
{
    class MainPageViewModel : DefaultPageViewModel
    {
        private DelegateCommand _navigateToOtherPage;
        public DelegateCommand NavigateToOtherPageCommand
        {
            get
            {
                return _navigateToOtherPage = _navigateToOtherPage ?? new DelegateCommand(() => NavigationService.Navigate<ContextSpecificSettingsDemoPageViewModel>());
            }
        }
    }
}
